//
//  JMBasieTableViewCell.m
//  VoluntaryStar
//
//  Created by xiaorui on 15/9/8.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import "JMBasieTableViewCell.h"
#import "UIViewExt.h"
#import "JMHeader.h"

@interface JMBasieTableViewCell ()

@property (nonatomic, strong) UIImageView *bottomLineImageView;

@end

@implementation JMBasieTableViewCell

- (UIImageView *)bottomLineImageView
{
    if (!_bottomLineImageView) {
        UIImageView *imageView = [[UIImageView alloc]init];
        imageView.image = [UIImage imageNamed:@"projectImage.bundle/line_image"];
        imageView.contentMode = UIViewContentModeScaleAspectFill;
        _bottomLineImageView = imageView;
        [self addSubview:_bottomLineImageView];
    }
    return _bottomLineImageView;
}


- (void)awakeFromNib {
    // Initialization code
}

-(void)layoutSubviews{
    [super layoutSubviews];
    self.bottomLineImageView.frame = CGRectMake(0, self.frameHeight - 1, UI_SCREEN_WITH, 1);

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
